#!/bin/sh
#
# Run a simple TLS connection test
# with an instance of the webui
# PHP SusanBSock class
#
TestName="webui-bsock-connection-test-tls"

PHP="@PHP@"
WEBUI_TESTS_DIR="@WEBUI_TESTS_DIR@"
WEBUI_DIR="@WEBUI_DIR@"

. scripts/functions

scripts/cleanup

copy_configs

start_test

run_susan

cd "${WEBUI_DIR}"
"${PHP}" "${WEBUI_TESTS_DIR}"/webui-bsock-connection-test-tls.php "${REGRESS_DEBUG}"
cd - > /dev/null

estat_plain=$?

stop_susan

export estat

let estat=estat_plain

end_test
